Skip to content

Avoid duplicated "New" wording for direct editing creator labels - #17355

Open
ChristianTannheimer wants to merge 4 commits into
nextcloud:masterfrom
ChristianTannheimer:fix/creator-label-duplication
Open

Avoid duplicated "New" wording for direct editing creator labels#17355
ChristianTannheimer wants to merge 4 commits into
nextcloud:masterfrom
ChristianTannheimer:fix/creator-label-duplication

Conversation

@ChristianTannheimer

Copy link
Copy Markdown

Fixes #17354

Problem

ONLYOFFICE-based connectors provide full phrases as Direct Editing creator
names ("Neues Dokument" / "New document"). Prefixing the localized "New"
produces duplicated wording like "Neu Neues Dokument" / "New New document".

Solution

Only apply the prefix when the creator name does not already start with the
localized "New" (case-insensitive); otherwise use the server-provided name
as-is. Entries like "Neu Textdokument" / "Neu Whiteboard" are unaffected.

Note: this is a heuristic — for locales where the inflected "new" doesn't
share the prefix string, behavior simply falls back to the current one, so
there is no regression.

Testing

Built versionDevDebug from rc-34.1.0-01 + this change, tested on a
Samsung Galaxy S25+ against Nextcloud 34.0.1 with the EuroOffice connector
11.0.1 and the official ONLYOFFICE connector 10.1.2.

before
before

after
after

alperozturk96 and others added 4 commits July 16, 2026 15:50
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
…34.1.0-rc1

chore: version bump 34.1.0 RC1
Signed-off-by: Christian Tannheimer <chtannheimer@gmail.com>
Signed-off-by: ChristianTannheimer <94762133+ChristianTannheimer@users.noreply.github.com>
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RC 34.1.0-01: Duplicated wording in creation menu — "New" prefix + creator name produces "New New document" ("Neu Neues Dokument")

2 participants